{extend name="Base/common" /}
{block name="content"}
<!-- BEGIN PAGE -->

<style>
    .center{
        display: flex;
        width: fit-content;
        margin: auto;
    }
</style>

<div class="page-content" style="padding-top: 10px;">

    <div class="container-fluid">
        <!-- 面包屑开始-->
        <div class="row-fluid">
            <div class="span12">

                <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                <h3 class="page-title">
                    列表
                </h3>
                <ul class="breadcrumb">
                    <li>
                        <a href="/ops/coupon/index">列表</a>
                        <i class="icon-angle-right"></i>
                    </li>
                    <li>
                        优惠券详情
                    </li>

                </ul>
                <!-- END PAGE TITLE & BREADCRUMB-->
            </div>
        </div>
        <!-- 面包屑结束 -->

        <!-- 带全选的表格开始 -->
        <div class="row-fluid">

            <div class="span12">

                <!-- BEGIN SAMPLE TABLE PORTLET-->

                <div class="portlet">

                    <div class="portlet-title">

                        <div class="caption"><i class="icon-reorder"></i>详情</div>

                        <!-- 表格内容整体操作结束 -->

                    </div>

                    <div class="portlet-body no-more-tables">

                        <ul class="list-group">
                            <li class="list-group-item">名称： {$data.name}</li>
                            <li class="list-group-item">类型：
                                {switch name="$data.type" }
                                {case value="1"}
                                <span>优惠券</span>
                                {/case}
                                {case value="2"}
                                <span>代金券</span>
                                {/case}
                                {case value="3"}
                                <span>兑换券</span>
                                {/case}
                                {/switch}
                            </li>
                            <li class="list-group-item">说明： {$data.description}</li>
                            <li class="list-group-item">详细地址： {$data['address']}</li>
                            <li class="list-group-item">商店： {$data.supermarket}</li>
                            <li class="list-group-item">面值： {$data.value}</li>
                            <li class="list-group-item">二维码： {$data.code_url}</li>
                            <li class="list-group-item">使用条件： {$data.condition?:'无'}</li>
                            <li class="list-group-item">有效期类型：{$data.expired_type==1?"开始时间固定":"开始时间不固定"}</li>
                            <li class="list-group-item">开始时间：{$data.expired_type == 1?$data.start_time:''}</li>
                            <li class="list-group-item">有效天数：{$data.expired_date}</li>
                            <li class="list-group-item">企业： {$company}</li>
                            <li class="list-group-item">数量：{$data.num}</li>
                            <li class="list-group-item">创建时间：{$data.create_time}
                            </li>
                        </ul>


                    </div>

                </div>
                <!-- END SAMPLE TABLE PORTLET-->

            </div>
        </div>
        <!-- 带全选的表格结束btn-sort-edit -->

    </div>
</div>
<script>



</script>
<!-- END PAGE -->
{/block}